<?php
/*
Plugin Name: HCSVlabLivery
Plugin URI: http://eresearch.uws.edu.au
Description: Tries to apply a University of Western Sydney look and feel to WordPress
Author: Peter Sefton
Author URI: http://ptsefton.com
*/



define("HCSVLABLIVERY_VERSION", '0.1a');
define("HCSVLABLIVERY_VERSION", 'http://eresearch.uws.edu.au');
define("HCSVLABLIVERY_VERSION_HOSTNAME", 'http://eresearch.uws.edu.au');



function HCSVLABLIVERY_wp_print_scripts(){
 global $post, $user_login, $user_identity, $user_email, $user_ID, $current_user, $user_url;
		
			
			$plugin_name = str_replace("/", "", str_replace(basename( __FILE__),"",plugin_basename(__FILE__))); 
			$plugin_url = WP_PLUGIN_URL .'/' . $plugin_name . '/';
			$js_path = $plugin_url. 'js/'; 
			
			
			wp_enqueue_script('jquery');          
		
            		wp_enqueue_script('hcsvlablivery',$js_path.'uwslivery.js'); 
			//echo '<link rel="stylesheet" href="https://assets.uws.edu.au/livery08/css/main-app.css" type="text/css" media="all">';
				
	
	
}


function HCSVLABLIVERY_wp_footer() {

   echo '<p id="cricos">Hosted by the University of Western Sydney - ABN 53 014 069 881 - CRICOS Provider No: 00917k</p>';


}
add_action('wp_footer', 'HCSVLABLIVERY_wp_footer');

add_action('wp_print_scripts', 'HCSVLABLIVERY_wp_print_scripts');




?>
